package com.myWeb.dao;

import com.myWeb.beans.User;

import java.sql.SQLException;

public interface IUserDao {
    void saveUser(User user) throws SQLException, ClassNotFoundException;


    boolean isExist(String username) throws SQLException, ClassNotFoundException;

    boolean canLogin(User user) throws SQLException, ClassNotFoundException;
}
